#pragma once
#include "cocos2d.h"
#include "DataCenter.h"

class ResultLayer: public cocos2d::CCLayerColor
{
private:
	static ResultLayer* instance;
	cocos2d::CCRect stages[20];
public:
	static ResultLayer* getInstance();
	virtual bool init();
	virtual void onExit();
	virtual void onEnter(); 
	virtual void menuNextCallback(CCObject* pSender);
	virtual void menuBackCallback(CCObject* pSender);
	virtual bool ccTouchBegan(cocos2d::CCTouch* touch, cocos2d::CCEvent* event);
	LAYER_NODE_FUNC(ResultLayer);
};